package com.doupi.partner.dal;

import com.doupi.partner.dal.model.AdministratorRole;
import java.util.List;
import org.apache.ibatis.session.RowBounds;

public interface AdministratorRoleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdministratorRole record);

    AdministratorRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdministratorRole record);

    int countAdministratorRole(AdministratorRole administratorRole);

    List<AdministratorRole> queryAdministratorRoles(AdministratorRole administratorRole, RowBounds rowBounds);

    List<AdministratorRole> selectAdministratorRoleForUpdate(AdministratorRole administratorRole);

    AdministratorRole selectAdministratorRoleForUpdateByPrimaryKey(Long id);
}